//
//  Point.h
//  Kmean
//
//  Created by Behrouz Derakhshan on 2/4/13.
//  Copyright (c) 2013 Behrouz. All rights reserved.
//

#ifndef __Kmean__Point__
#define __Kmean__Point__

#include <iostream>
#include <vector>

typedef double DATA_TYPE;

class Point{
    public:
    
    Point();
    
    Point(std::vector<DATA_TYPE> point);
    
    Point operator= (Point point);
    
    Point operator+ (Point point);
    
    Point operator+=(Point point);
    
    Point operator- (Point point);
    
    Point operator/ (int denum);
    
    void assign(Point point);
    
    DATA_TYPE operator[] (const int index);
    
    unsigned long size();
    
    std::vector<DATA_TYPE> getPoint();
    
    
    private:
    std::vector<DATA_TYPE> point ;
};

#endif /* defined(__Kmean__Point__) */
